package edu.ucsur.ventasweb.BusinessLogic;

import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.List;

import edu.ucsur.ventasweb.BusinessEntity.ENVenta;
import edu.ucsur.ventasweb.DataAccess.ADVenta;

/**
 *
 * @author PAUL
 */
public class LNVenta {

    /* INICIO: Singleton */
    private static LNVenta _instance = null;

    public static LNVenta Instance()
    {
        if (_instance == null)
            _instance = new LNVenta();
        return _instance;    
    }
    /* FIN: Singleton */
    
    
    public List<ENVenta> Listar() throws Exception
    {
    	return ADVenta.Instance().Listar();
    	
    }
}
